package org.main.bean.entity;

import lombok.*;

import javax.persistence.*;

/**
 * 订单表
 */
@Entity
@Getter
@Setter
@NoArgsConstructor
@Table(name = "Theorder")
public class Theorder implements java.io.Serializable{

  @Id
  @Column(name = "orderId")
  private int orderId;

  @Column(name = "ddTime")
  private String ddTime;

  @Column(name = "orderShu")
  private int orderShu;

  @Column(name = "Yuanprice")
  private String Yuanprice;

  @Column(name = "Ordermoney")
  private String Ordermoney;

  @Column(name = "ddState")
  private String ddState;

  @Column(name = "orderBz")
  private String orderBz;

  @Column(name = "confirm")
  private String confirm;


  public Theorder(int orderId, int orderShu, String yuanprice, String ordermoney, String ddState, String orderBz) {
    this.orderId = orderId;
    this.orderShu = orderShu;
    Yuanprice = yuanprice;
    Ordermoney = ordermoney;
    this.ddState = ddState;
    this.orderBz = orderBz;
  }

}
